@import "./config.less";
/*-----------公共样式---------*/
/*-------------默认样式-----------*/
body{
  background-color: @white;
  color: @default;
}
.container{
   width: 100%;
}
.wrapper{
   margin: 0 auto;
   width: 1170px;
   overflow: hidden;
}
a{
   text-decoration: none;
   color: #333333;
}
i{
  font-style: normal;
}

/*------------导航栏样式-----------*/
.navbar{
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  left: 0;
  height: 80px;
  background-color: @black;
  overflow: hidden;
  min-width: 1170px;
  z-index: 1000;
  >div{
    background-color: @black;
  }
  .logo{
    float: left;
    margin-top: 25px;
    height: 30px;
    width: 120px;
    margin-right: 65px;
  }
  .nav{
    float: left;
    margin-top: 20px;
  }
  .nav ul li{
    display: inline-block;
    line-height: 40px;
    margin-right: 60px;
  }
  .nav ul li a{
    color: @light;
    font-size: 16px;
  }
  .nav ul li.active a{
    color: @blue;
  }
  .nav ul li a:hover{
    color: @blue;
  }
  .nav ul li a.active{
    color: @blue;
  }
  .nav-right{
    margin-top: 20px;
    float: right;
    a{
      line-height: 40px;
      color: @light;
    }
    a:hover{
      color: @blue;
    }
  }
}


.main-container{
  padding-top: 80px;
}
/*------标题样式-------*/
.section{
  margin-top: 107px;
  background-color: #ffffff;
  padding-bottom: 20px;
  .section-title{
    display: flex;
    justify-content: center;
    align-items: center;
    .title-line{
      border-top: 1px solid @border-color;
      width: 302px;
      height: 0;
    }
    .title-name{
      margin: 0 35px;
      font-size: 20px;
    }
  }
  .section-content{
    overflow: hidden;
    margin-top: -15px;
  }
}
.section + .section{
  margin-top: 150px;
}

/*-------介绍--------*/
.profile{
  margin-top: 52px;
  display: flex;
  justify-content: center;
  .profile-section{
    width: 164px;
    img{
      width: 100%;
    }
    p{
      text-align: center;
      font-size: 14px;
    }
    span{
      font-weight: bold;
    }
  }
  .profile-section + .profile-section{
    margin-left: 162px;
  }
}

/*---------产品模块-----------*/
.product{
  margin-top: 50px;
  width: 270px;
  float: left;
  margin-right: 30px;
  .img-container{
    margin-top: 5px;
    display: block;
    position: relative;
    width: 270px;
    height: 270px;
  }
  img{
    width: 100%;
  }
  .times{
    position: absolute;
    bottom: 0;
    right: 0;
    width: 90px;
    height: 30px;
    background-color: rgba(32,169,205,0.5);
    font-size: 12px;
    padding-left: 7px;
    box-sizing: border-box;
    color: #ffffff;
    line-height: 30px;
  }
  .product-name{
    overflow: hidden;
    text-overflow:ellipsis;
    white-space: nowrap;
    font-size: 18px;
    line-height: 24px;
  }
  .product-price{
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    /*line-height: 30px;*/
    margin-top: 15px;
    span{
      font-size: 12px;
      vertical-align: bottom;
    }
  }
  .price{
    font-size: 36px;
  }
  .product-right{
    text-align: right;
    p{
      line-height: 16px;
    }
  }
  .brand-name{
    color: @common;
    font-size: 12px;
  }
  .types{
    font-size: 12px;
    color: @grey;
  }
  .btn-group{
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
  }
  .btn{
    display: inline-block;
    width: 135px;
    height: 50px;
    font-size: 16px;
    text-align: center;
    line-height: 50px;
  }
  .btn-left{
    border: 1px solid @blue;
    color: @blue;
    box-sizing: border-box;
    cursor: pointer;
  }
  .btn-right{
    background-color: @blue;
    color: @white;
  }
  .more-product{
    margin-top: 16px;
    display: block;
  }
}
.product:nth-child(4n){
  margin-right: 0;
}

/*---------底部样式------------*/
.footer{
  background-color: @black;
  height: 270px;
  min-width: 1170px;
  .footer-content{
    padding-top: 52px;
    overflow: hidden;
  }
  .logo{
    margin-top: 35px;
    margin-left: 40px;
    width: 100px;
    height: 75px;
    float: left;
  }
  .nav{
      float: left;
      margin-left: 100px;
      >li{
        display: inline-block;
        font-size: 14px;
        color: @light;
      }
      >li + li{
        margin-left: 124px;
      }
      .sub-nav{
        margin-top: 20px;
        >li{
          font-size: 12px;
          a{
            color: @light;
          }
        }
        >li + li{
          margin-top: 10px;
        }
      }
      li a:hover{
        color: @blue;
      }
  }
  .gongzhonghao{
    float: right;
    .qr-logo{
      width: 95px;
      height: 95px;
    }
    .gongzhonghao-text{
      margin-top: 12px;
      text-align: center;
      font-size: 12px;
      color: @light;
    }
  }
  .footer-text{
    .icon{
      width: 18px;
      height: 20px;
      vertical-align: middle;
    }
    .icon + .icon{
      margin-left: 10px;
      margin-right: 18px;
    }
    margin-top: 52px;
    text-align: center;
    font-size: 12px;
    color: @light;
  }
}

/*-------定制板块---------*/
.custom{
  margin-top: 150px;
  .custom-title{
    text-align: center;
    /*font-weight: bold;*/
    font-size: 20px;
  }
  .custom-content{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    .custom-item{
      width: 200px;
      text-align: center;
      margin:0 50px;
      margin-top: 60px;
    }
    .custom-item-logo{
      width: 55px;
      height: 55px;
    }
    .custom-item-title{
      margin-top: 8px;
      margin-bottom: 13px;
      font-size: 16px;
      font-weight: bold;
    }
    .custom-item-desc{
      font-size:12px;
      color: @grey;
      line-height: 20px;
    }
  }
  .custom-btn-group{
    margin-top: 60px;
    text-align: center;
    .btn{
      width: 225px;
      height: 60px;
      display: inline-block;
      box-sizing: border-box;
      text-align: center;
      line-height: 60px;
    }
    .btn-left{
      color: @blue;
      border: 1px solid @blue;
      cursor: pointer;
    }
    .btn-right{
      color: @white;
      background: @blue;
      border: 1px solid @blue;
    }
  }
}
.custom + .custom{
  margin-bottom: 160px;
}



/*-------分页样式--------*/
.pagination{
  width: 100%;
  text-align: right;
  font-size: 0px;
  clear: both;
  margin-top: 50px;
  .page-btn{
    display: inline-block;
    width: 22px;
    height: 22px;
    border: 1px solid #e8e8e8;
    text-align: center;
    line-height: 22px;
    font-size: 12px;
    color: @grey;
    margin-left: 3px;
    margin-right: 3px;
    cursor: pointer;
    background-color: #ffffff;
  }
  .active{
    border: none;
    color: @blue;
    display: inline-block!important;
    background-color: rgba(0, 0, 0, 0);
  }
  .total{
    font-size: 12px;
    color: @common;
    margin-right: 13px;
  }
  .pre-btn , .next-btn{
    display: inline-block;
    width: 58px;
    height: 22px;
    text-align: center;
    line-height: 22px;
    color: @blue;
    font-size: 12px;
    border: 1px solid #e8e8e8;
    cursor: pointer;
    background-color: @white;
  }
  .no-pre{
    display: inline-block;
    width: 0;
    height: 0;
    border-top: 5px solid rgba(0, 0, 0, 0);
    border-right: 5px solid @grey;
    border-bottom: 5px solid rgba(0, 0, 0, 0);
    background-color: rgba(0, 0, 0, 0);
    margin-right: 10px;
    margin-left: 10px;
    cursor: pointer;
  }
  .no-next{
    display: inline-block;
    width: 0;
    height: 0;
    border-top: 5px solid rgba(0, 0, 0, 0);
    border-left: 5px solid @grey;
    border-bottom: 5px solid rgba(0, 0, 0, 0);
    background-color: rgba(0, 0, 0, 0);
    margin-left: 10px;
    margin-right: 10px;
    cursor: pointer;
  }
  .dots{
    font-size: 12px;
    margin-left: 3px;
    margin-right: 3px;
    color: @grey;
    background-color: rgba(0, 0, 0, 0);
  }
}
#nb_icon_wrap{
  display: none!important;
}
